import request from '@/utils/request'

//发送邮件
// 新增就业帮扶
export function sentEmail(data) {
  return request({
    url: '/employment/helpMove/sentEmail',
    method: 'post',
    data: data
  })
}

// 查询帮扶移交列表
export function listHelpMove(query) {
  return request({
    url: '/employment/helpMove/list',
    method: 'get',
    params: query
  })
}

// 查询帮扶移交详细
export function getHelpMove(id) {
  return request({
    url: '/employment/helpMove/' + id,
    method: 'get'
  })
}

// 新增帮扶移交
export function addHelpMove(data) {
  return request({
    url: '/employment/helpMove',
    method: 'post',
    data: data
  })
}

// 修改帮扶移交
export function updateHelpMove(data) {
  return request({
    url: '/employment/helpMove',
    method: 'put',
    data: data
  })
}

// 删除帮扶移交
export function delHelpMove(id) {
  return request({
    url: '/employment/helpMove/' + id,
    method: 'delete'
  })
}
